home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / OS / LayerLib / MacMake.bmk
Encoding:
Text File  |  1995-11-08  |  1.9 KB  |  52 lines  |  [TEXT/MPS ]

  1. #========================================================================================
  2. #
  3. #    File:                MacMake.bmk
  4. #    Release Version:    $ 1.0d11 $
  5. #
  6. #    Copyright:    1993, 1994 by Apple Computer, Inc., all rights reserved.
  7. #
  8. #========================================================================================
  9.  
  10. __ComponentName = ODFOS
  11.  
  12. __IncludeDirs = ∂
  13.     -i "{FWODHandMadeIncludes}" ∂
  14.     -i "{FWODCppIncludes}" ∂
  15.     -i "{ODF}Found:FWCollec:Include:" ∂
  16.     -i "{ODF}Found:FWCommon:Include:" ∂
  17.     -i "{ODF}Found:FWTaskG:Include:" ∂
  18.     -i "{ODF}Found:FWRunTyp:Include:" ∂
  19.     -i "{ODF}Found:FWDebug:Include:" ∂
  20.     -i "{ODF}Found:FWExcLib:Include:" ∂
  21.     -i "{ODF}Found:FWString:Include:" ∂
  22.     -i "{ODF}Found:FWStream:Include:" ∂
  23.     -i "{ODF}Found:FWFoundU:Include:" ∂
  24.     -i "{ODF}Found:FWMemory:Include:" ∂
  25.     -i "{ODF}OS:FWFiles:Include:" ∂
  26.     -i "{ODF}OS:FWOSMisc:Include:" ∂
  27.     -i "{ODF}OS:FWResour:Include:"
  28.  
  29. __FWRCIncludeDirs = 
  30.  
  31. __ComponentObjects = ∂
  32.     "{_FWTargetObjectsDir}"FWCFMRes.cpp.o ∂
  33.     "{_FWTargetObjectsDir}"FWLbInit.cpp.o
  34.  
  35. # directory dependency propagation
  36. "{_FWTargetObjectsDir}" ƒ "{ODF}OS:FWResour:Sources:"
  37.  
  38. # Once we build {_FWTargetObjectsDir}ODFOS.o we need to copy it to the lib
  39. # directory so parts can link against it.
  40. # Remember: <objects><name>.LIB is the artificial target that says "build this
  41. # module as a static library". We want static libraries in the Lib folder but
  42. # the default rules only leave it in the <objects> folder. Thus this rule
  43. # says "Part of what it means to build as a static library is to do this step
  44. # when we're done building the .o file". That step is to copy it into the Lib
  45. # folder. We don't want to make this part of the default rules because not
  46. # all static libraries built by ODF users should go in the ODF Lib folder.
  47. "{_FWTargetObjectsDir}{__ComponentName}".LIB ƒ ∂
  48.         "{_FWTargetObjectsDir}{__ComponentName}".o
  49.     {_FWEcho} {_FWEchoOptions} "Copying into Lib: "{__ComponentName}
  50.     Duplicate -y "{_FWTargetObjectsDir}{__ComponentName}".o "{_FWLibDir}"
  51.  
  52.